package com.javasm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 陪玩客户订单(CustomerOrder)实体类
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Order implements Serializable {
    private static final long serialVersionUID = 311899989020939578L;
    /**
     * 订单编号
     */
    private Integer orderId;
    /**
     * 下单时间
     */
    private String orderDatetime;
    /**
     * 下单数量
     */
    private Integer orderSkillNum;
    /**
     * 陪玩单价
     */
    private Double orderSkillPrice;
    /**
     * 下单实际金额
     */
    private Double orderTotalPrice;
    /**
     * 订单所属技能资质
     */
    private Integer orderSkillId;
    /**
     * 订单所属游戏
     */
    private String gameName;
    /**
     * 1下单 2接单 3结单 4评论
     */
    private Integer orderStatus;
    /**
     * 下单用户编号
     */
    private Integer orderPaymentCustomer;
    /**
     * 下单用户名
     */
    private String orderPaymentCustomerName;
    /**
     * 接单用户编号
     */
    private Integer orderServeCustomer;
    /**
     * 接单用户名
     */
    private String orderServeCustomerName;
    /**
     * 订单备注信息
     */
    private String orderRemark;

    public Order(String orderDatetime, String gameName, Integer orderStatus, String orderPaymentCustomerName, String orderServeCustomerName) {
        this.orderDatetime = orderDatetime;
        this.gameName = gameName;
        this.orderStatus = orderStatus;
        this.orderPaymentCustomerName = orderPaymentCustomerName;
        this.orderServeCustomerName = orderServeCustomerName;
    }
}

